package com.mikao.dao;

import com.mikao.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author KennyDavid
 */
public interface UserDao extends JpaRepository<User, Long>, JpaSpecificationExecutor {

    User findByOpenId(String openid);
}
